package com.wisewin.circle.service;

import com.wisewin.circle.dao.SysDictDAO;
import com.wisewin.circle.entity.db.SysDictDO;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import java.util.List;

@Service
@Transactional
public class SysDictService {

    @Autowired
    private SysDictDAO sysDictDAO;

    public List<SysDictDO> querySysDictByDictType(Integer dictType){
        return sysDictDAO.querySysDictByDictType(dictType);
    }
}
